package me.jiatao.javestudy.generic;

import java.io.Serializable;

/**
 * Created by JiaTao on 2018/9/12.
 * Email: 535318720@qq.com
 * Version: 1.0
 * Description:
 */
public class PointTypeVariable<T extends Number&Serializable> extends PointClass<T> {
    private T y;

    @Override
    public T getY() {
        return y;
    }

    @Override
    public void setY(T y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "PointTypeVariable{" +
                "y=" + y +
                '}';
    }
}
